package cn.wolfcode.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class Employee {
    @TableId(value = "id",type = IdType.AUTO) //使用数据库自增
    private Long id;

    private String name;

    private String password;

    private String email;

    private int age;

    private boolean admin;

    private Long deptId;

}